package com.euc.springbootframework.service;

import com.euc.springbootframework.dao.BaikeDao;
import com.euc.springbootframework.dao.base.BaseDao;
import com.euc.springbootframework.entity.Baike;
import com.euc.springbootframework.service.base.RestBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BaikeService extends RestBaseService<Baike> {

    @Autowired
    private BaikeDao dao;

    @Override
    protected BaseDao<Baike, String> getRepository() {
        return dao;
    }
}
